package org.itboys.baseobject.entity;

import org.itboys.mongodb.entity.BaseLongIdEntity;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.NotSaved;

/**
 * 商城首页广告位
 * 
 * @author ok
 * 
 */
@Entity(value = "AdvertisingSC", noClassnameStored = true)
public class AdvertisingSC extends BaseLongIdEntity {

	private static final long serialVersionUID = 7017150962967710216L;

	private Long centerId; // 运营中心ID
	private String desc; // 描述
	private Integer type; //广告位置 1-轮播图 2-今日秒杀 3-热门市场(上) 4-热门市场(下) 5-精品推荐
	private String image;// 广告图
	private Integer detailType; //详情类别 1-商品详情 2-分类详情
	private Long detailId;

	@NotSaved
	private int count;
	@NotSaved
	private String name;
	@NotSaved
	private Double price;
	@NotSaved
	private Double currentPrice;
	@NotSaved
	private String info;

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public Integer getDetailType() {
		return detailType;
	}

	public void setDetailType(Integer detailType) {
		this.detailType = detailType;
	}

	public Long getDetailId() {
		return detailId;
	}

	public void setDetailId(Long detailId) {
		this.detailId = detailId;
	}

	public Long getCenterId() {
		return centerId;
	}

	public void setCenterId(Long centerId) {
		this.centerId = centerId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Double getCurrentPrice() {
		return currentPrice;
	}

	public void setCurrentPrice(Double currentPrice) {
		this.currentPrice = currentPrice;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}
}
